package com.ruirui.demo.interfaceAndAbs;

public class InterFaceAndAbs {


    public static void main(String[] args) {
        interhhh hh2 = new interhhh() {
            @Override
            public void show() {

            }
            @Override
            public void show2() {

            }
        };

        abshh hh = new abshh() {
            @Override
            public void show() {
                System.out.println("show");
            }

            @Override
            public void show2() {

            }

            @Override
            public void show3() {

            }

            @Override
            public void show4() {

            }
        };
        interhhh gg = new interhhh() {
            @Override
            public void show() {

            }

            @Override
            public void show2() {

            }
        };
    }
}
